package com.ruoyi.wms.domain.bo.stock;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import com.ruoyi.wms.domain.entity.stock.StoreInformation;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 门店信息业务对象 wms_store_information
 *
 * @author 邓滔滔
 * @date 2024-11-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = StoreInformation.class, reverseConvertGenerate = false)
public class StoreInformationBo extends BaseEntity {

    /**
     * 门店名称
     */
    @NotBlank(message = "门店名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeName;

    /**
     * 门店地址
     */
    private String storeAddress;

    /**
     * 联系电话
     */
    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactPhone;

    /**
     * 营业时间
     */
    private String businessHours;

    /**
     * 门店状态：1-正常, 2-暂停营业, 3-关闭
     */
    @NotNull(message = "门店状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer storeStatus;

    /**
     * 所属门店（可选）
     */
    private Long storeId;

    /**
     * 负责人姓名
     */
    private String managerName;

    /**
     * 负责人联系电话
     */
    private String managerContactPhone;

    /**
     * 备注
     */
    private String remark;


}
